TsgDXFText
Unit: DXFConv
Description
This class defines a single line of alphanumeric characters (entity TEXT).
Syntax
TsgDXFText = class(TsgDXFCustomVertex)
Properties
Properties | Description |
---|---|
Backward | The property returns True if Text is backward (mirrored in X). |
Extrusion | The property sets/gets extrusion direction (default = 0, 0, 1). |
Font | The property sets Font to specify the font to use for writing text. |
FontName | The property returns primary font file name. |
Generation | The property sets/gets text generation flags. |
HAlign | The property displays horizontal text justification type integer codes not bit-coded. |
Height | The property specifies the height of the text in drawing units. |
InsideMText | The property returns True if the TsgDXFText class object contains multiline text. |
IsEmpty | The property returns True if the TsgDXFText object doesn't contain any symbols. |
IsSHXFont | The property returns True if the TsgDXFText class object contains SHX Font text. |
IsUnicodeText | The property returns True if the TsgDXFText class object contains Unicode text. |
MText | The property points to internally created the TsgDXFMText object if the text is split up to two or more parts due to special characters, such as diameter. |
ObliqueAngle | The property specifies the angle of oblique of letters. |
Point1 | The property specifies second alignment point. |
Rotation | The property contains angle of text rotation. |
Scale | The property specifies relative X scale factor-width (default = 1). |
SHXFont | The property returns name of the SHX Font. |
SHXText | The property returns text string of SHX Font. |
SHXUnicodeText | The property returns text string of SHX Unicode Font. |
StartPoint | The property contains the REAL coordinates of text starting point. |
Style | The property sets/gets text style by defined in the TsgDXFStyle class object properties. |
Text | The property sets or gets text string. |
UnicodeText | The property returns text string of the Unicode text. |
UpsideDown | The property returns True if Text is upside down (mirrored in Y). |
VAlign | The property specifies vertical text justification type (default = 0): integer codes (not bit- coded). |
WinFont | The property only for texts that are parts of the MTEXT entity. |
XScale | The property returns relative X scale factor width (default = 1). |
Derived from TsgDXFCustomVertex | Description |
---|---|
Point | The property contains coordinates of the vertex. |
Derived from TsgDXFEntity | Description |
---|---|
Box | The property determines the 3d box embraced the entity. |
Color | The property gets or sets entity color. |
ColorCAD | The property gets or sets a color for drawing entities. |
Complex | The property determines whether a entity is populated with child entities. |
Converter | The property returns the TsgDXFConverter class object. |
Count | The property indicates the total number of child entities. |
Entities | The property lists all child entities. |
EntType | The property indicates type of an entity. |
Handle | The property is used for finding entity links. |
Layer | The property points to layer, containing given primitive if this layer is given. |
LineType | The property sets and gets line type for an entity. |
LineTypeScale | The property sets and gets the Linetype scale. |
LineWeight | The property sets or gets line weight in millimeters. |
PaperSpace | The property indicates Model Space and Paper Space entity segregation. |
SrcEnd | The property indicates end position of the entity description in the source CAD file. |
SrcStart | The property indicates start position of the entity description in the source CAD file. |
Visibility | The property sets and gets entities visibility. |
Visible | The property determines whether the component appears onscreen. |
Methods
Methods | Description |
---|---|
AssignEntity | The method copies properties of source entity to current entity. |
Create | Creates internal objects before creating this object. |
Destroy | Frees up internal objects before destroying this object. |
DoNewText | The method replaces the content of entity with a text specifies in ANewText parameter. |
EntName | The method the EntName returns result of the EntName function of the base class (TsgDXFEntity.EntName ) and values of the Text property. |
GetBase | |
GetMatrix | The method returns a coordinate-transformation matrix. |
GetSHXLines | The method returns parameters of SHX font for the TsgDXFText object. |
GetSHXLinesEx | The method returns parameters of SHX font for the TsgDXFText object. |
GetThickness | The method returns entity's thickness. |
SetLWeight | The method changes line weight of the entity. |
SHXMatrix | The method returns a coordinate-transformation matrix. |
Derived from TsgDXFEntity | Description |
---|---|
AddEntity | The method adds a new child entity. |
Clone | The method copies properties of source entity to current entity (include Handle ). |
Draw | The method generates the OnDraw event. |
GetBoxPoints | The method is used in drawing cycle for fast checking whether the entity must be drawn. |
GetThickness | The method returns entity's thickness. |
SetLType | The method sets line type of the entity. |
Events
Derived from TsgDXFEntity | Description |
---|---|
OnDraw | The event occurs when the Draw method is called. |